package com.zq.annotation;


import com.zq.annotation.type.CheckPermissionType;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CheckPermission {
    String[] value();
    String msg() default "Check permission failed,maybe you don't have permission(s) to access the current interface";
    CheckPermissionType type() default CheckPermissionType.OR;
}

